import 'package:flutter/material.dart';

import '../../../../generated/l10n.dart';

class YSHHomePageAppBar extends AppBar {
  YSHHomePageAppBar(BuildContext context, {super.key})
      : super(
            title: Text(S.of(context).homePageTitle),
            leading: IconButton(
              icon: const Icon(Icons.menu),
              onPressed: () {
                Scaffold.of(context).openDrawer();
              },
            ));
}
